package com.zxl.study.confusion.v4.test;

import com.zxl.study.confusion.OrderMainModel;
import com.zxl.study.confusion.v4.OrderStrategyContext;

import java.util.ArrayList;

/**
 * @auther zxl
 * @create 2023-08-13 15:54
 */
public class Client
{
    public static void main(String[] args)
    {
        OrderStrategyContext orderStrategyContext = new OrderStrategyContext();

        OrderMainModel orderMainModel = new OrderMainModel();
        orderMainModel.setOrderType(1);

        Long retUuid = orderStrategyContext.saveSaleOrder(orderMainModel,new ArrayList<>());

        System.out.println("client retuuid==="+retUuid);
    }
}
